]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dash: Show tooltips on hover
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 10 Feb 2011 00:41:51 +0000 (01:41 +0100)
committerOwen W. Taylor <otaylor@fishsoup.net>
Tue, 22 Mar 2011 16:37:14 +0000 (12:37 -0400)
As dash items no longer show application names, display names as
tooltips on hover.

https://bugzilla.gnome.org/show_bug.cgi?id=642871

js/ui/dash.js

index ed22feab6928ad2b327c1d7d30e901928c15ae7e..28e4bdbe0643607d43bda1a988abc7cdc9bbd446 100644 (file)
@@ -389,6 +389,8 @@ Dash.prototype = {
                                    Lang.bind(this, function() {
                                        display.actor.opacity = 255;
                                    }));
+        display.actor.set_tooltip_text(app.get_name());
+
         let item = new DashItemContainer();
         item.setChild(display.actor);